package com.yangyao.microserviceoauth2.common.constants;

/**
 * @author yangyao
 * @Description: 状态码
 * @date 2019年12月6日13:51:22
 */
public class StatusCodeConstant {

    private StatusCodeConstant() {

    }

    /**
     * 请求成功
     */
    public static final int SUCCESS = 10000;

    /**
     * 请求失败
     */
    public static final int ERROR = 10001;

    /**
     * 请求超时
     */
    public static final int TIMEOUT = 10002;

    /**
     * 没有权限
     */
    public static final int UNAUTHORIZED = 10003;

    /**
     * 未登陆
     */
    public static final int UNLOGIN = 10004;

    /**
     * TOKEN已过期
     */
    public static final int TOKENEXPIRED = 10005;

    /**
     * 操作太频繁
     */
    public static final int OPERATIONFREQUENT = 10006;
}
